<div class="page-header">
    <h1><?php echo $this->titulo; ?></h1>
</div>

<div class="table-responsive">
    <table id="tlist" class="table table-striped table-hover">
        <thead>
            <tr>
                <th>Código</th>
                <th>Telefone</th>
                <th>E-mail</th>
                <th>Endereço</th>
                <th class="bc">&nbsp;</th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ($this->result as $row) { ?>
                <tr>  
                    <td><?php echo $row['PAR_ID']; ?></td>
                    <td><?php echo $row['PAR_TEL']; ?></td>
                    <td><?php echo $row['PAR_EML']; ?></td>
                    <td><?php echo $row['PAR_END']; ?></td>
                    <td class="bc">
                        <?php if($this->per_edt){?><a class="btn btn-sm btn-primary" href="<?php echo $this->url(array('controller' => $this->controller, 'action' => 'edit', 'id' => $row['PAR_ID'])); ?>"><span class="glyphicon glyphicon-edit" aria-hidden="true"></span> Editar</a><?php }?>
                    </td>
                </tr>
            <?php } ?>
        </tbody>
    </table>
</div>